package com.adcc.loadsheet.billing.service;

import com.adcc.loadsheet.billing.entity.BillingBillEntity;
import com.adcc.loadsheet.billing.vo.BillingBillEntityVO;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 计费帐单service接口
 */
public interface BillingBillService {

    //按主键查询计费帐单
    BillingBillEntity selectByPrimaryKey(Integer id);

    //编辑计费帐单
    void edit(BillingBillEntity billingBillEntity,MultipartFile executeFile);

    //查询计费帐单
    PageInfo<BillingBillEntityVO> selectBillingBillForPage(Map<String, Object> map);

    //下载文件
    String exportFile(String billingFileName,String filePath,HttpServletResponse response);

    //批量编辑计费账单（执行金额和备注）
    void editExecute(List<Object> billingBillEntityVO);

    //导出excel
    void excel(String billingCycle,Integer contractUserId,HttpServletResponse response);
}